/*
 * This class is distributed as part of the Botania Mod.
 * Get the Source Code in github:
 * https://github.com/Vazkii/Botania
 *
 * Botania is Open Source and distributed under the
 * Botania License: http://botaniamod.net/license.php
 */
package vazkii.botania.api.item;

import net.minecraft.world.entity.item.ItemEntity;

import vazkii.botania.api.mana.ManaPool;

/**
 * An item that implements this will have a function called when its standing atop
 * a mana pool.
 */
public interface ManaDissolvable {

	/**
	 * Called for every tick the item is on a mana pool. If the stack has stack
	 * size 0 the item is killed. This is called serverside.
	 */
	void onDissolveTick(ManaPool pool, ItemEntity item);

}
